View Issue Details

IDProjectCategoryView StatusLast Update
0001553K18X001.00 SKB SWANSWpublic2022-11-10 08:54
Reporter(ALTech) Sangmin Choi Assigned To(ALTech) Sangmin Choi Due Date2022-11-11 18:04
PrioritynormalSeveritys4-minorReproducibilityN/A
Status closedResolutionfixed 
Summary0001553: Please apply this patch from BPM-10771.
DescriptionPlease apply this patch from BPM-10771.
Additional Informationhttps://jira.skbroadband.com/browse/BPM-10771
TagsNo tags attached.
Attach Tags

Users monitoring this issue

User List There are no users monitoring this issue.

Activities

(ALTech) Sangmin Choi

2022-11-09 17:05

developer  

AI2-SKBSBLT195.patch (1,627 bytes)   
diff --git a/amp/src/service/display/src/disp_prv.c b/amp/src/service/display/src/disp_prv.c
index b75deb4..6ed2108 100755
--- a/amp/src/service/display/src/disp_prv.c
+++ b/amp/src/service/display/src/disp_prv.c
@@ -1825,24 +1825,22 @@ void check_scale_ratio(VPP_WIN *pWinSrc, VPP_WIN *pWinDst)
 #if SKB_AISTB2_ASPECT_RATIO_WAR
 extern int ratio_mode; //0 : Full ratio , 1: Original ratio.
 //float g_virtual_output_ratio = (16.0f/9.0f) ; //default to 16:9
-float video_par = 0;
 void adjust_aspectRatio(DISP_PLANE *pPlane, VPP_WIN *pWinSrc, VPP_WIN *pWinDst, BOOL bIsBuildInFrame, VDEC_VID_BUF_DESC *pVbufDesc)
 {
-    if(ratio_mode && bIsBuildInFrame==false)// && (pPlane->uiPlaneID==1 || pPlane->uiPlaneID==0)) // If ratio mode is Original ratio
+    if(pPlane == NULL)
     {
+	DISP_INFO("pPlane == NULL !!!");
+	return ;
+    }
 
-        if(pPlane == NULL)
-        {
-            DISP_INFO("pPlane == NULL !!!");
-            return ;
-        }
-
-        DISP_INFO("func:%s , line:%d", __func__, __LINE__);
-        if((pPlane->uiPlaneID != AMP_DISP_PLANE_MAIN) && (pPlane->uiPlaneID != AMP_DISP_PLANE_PIP))
-            return ;
+    if(ratio_mode && bIsBuildInFrame==false && pPlane->uiPlaneID == AMP_DISP_PLANE_MAIN) // If ratio mode is Original ratio
+    {
         if (pWinSrc->height == 0 || pWinDst->height == 0)
+	{
+	    DISP_INFO("height is null: pWinSrc->height = %d, pWinDst->height = %d", pWinSrc->height, pWinDst->height);
             return;
-
+	}
+	
         float SourceRatio = (float)pWinSrc->width / (float)pWinSrc->height;
         float video_par_signal = 0.0f;
         if(pVbufDesc != NULL){
AI2-SKBSBLT195.patch (1,627 bytes)   

(SW) Jason Ling

2022-11-09 17:23

developer   ~0011190

Hi Sangmin,

Could you give us commit message ?

(ALTech) Sangmin Choi

2022-11-10 07:56

developer   ~0011191

Last edited: 2022-11-10 07:57

Hi, Jason,

Please use below messages.

[BPM-10771] Change point: AFD will work just only main plane not pip plane.
https://synacsm.atlassian.net/servicedesk/customer/portal/173/CSMSKBSBLT-195

Thank you.

(SW) Jason Ling

2022-11-10 08:25

developer   ~0011192

Hi Sangmin,

Done

2022-11-10 08:23:15 | jason.tf.ling@fii-.. | fb65547 | syna-release/ampsdk | [BPM-10771] Change point: AFD will work just only main p

(ALTech) Sangmin Choi

2022-11-10 08:53

developer   ~0011193

Hi, Jason,

Thank you!

Issue History

Date Modified Username Field Change
2022-11-09 17:05 (ALTech) Sangmin Choi New Issue
2022-11-09 17:05 (ALTech) Sangmin Choi Status new => assigned
2022-11-09 17:05 (ALTech) Sangmin Choi Assigned To => (SW) Jason Ling
2022-11-09 17:05 (ALTech) Sangmin Choi File Added: AI2-SKBSBLT195.patch
2022-11-09 17:23 (SW) Jason Ling Note Added: 0011190
2022-11-10 07:56 (ALTech) Sangmin Choi Note Added: 0011191
2022-11-10 07:57 (ALTech) Sangmin Choi Note Edited: 0011191
2022-11-10 08:25 (SW) Jason Ling Assigned To (SW) Jason Ling => (ALTech) Sangmin Choi
2022-11-10 08:25 (SW) Jason Ling Status assigned => resolved
2022-11-10 08:25 (SW) Jason Ling Resolution open => fixed
2022-11-10 08:25 (SW) Jason Ling Note Added: 0011192
2022-11-10 08:53 (ALTech) Sangmin Choi Note Added: 0011193
2022-11-10 08:54 (ALTech) Sangmin Choi Status resolved => closed